﻿using Abp.AutoMapper;
using AVIS.OutBound.BookOrders;
using AVIS.OutBound.BookOrders.Cache;
using AVIS.OutBound.Orders;
using AVIS.OutBound.Orders.Cache;
using AVIS.OutBound.WizardAgent;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AVIS.OutBound.CarGroups
{
    /// <summary>
    /// 获取指定RateCode的车组信息的请求参数
    /// </summary>
    [AutoMapFrom(typeof(BookOrder), typeof(BookOrderCacheItem))]
    [AutoMapTo(typeof(CarGroupsRequest))]
    public class AgentCarGroupsRequest
    {
        /// <summary>
        /// 套餐价格代码
        /// </summary>
        public string RateCode { get; set; }

        /// <summary>
        /// 取车时间
        /// </summary>
        public DateTime PickupDateTime { get; set; }

        /// <summary>
        /// 取车门店编号
        /// </summary>
        public string PickUpStoreCode { get; set; }

        /// <summary>
        /// 还车时间
        /// </summary>
        public DateTime ReturnDateTime { get; set; }

        /// <summary>
        /// 还车门店编号
        /// </summary>
        public string ReturnStoreCode { get; set; }

        /// <summary>
        /// Avis全球折扣号
        /// </summary>
        public string AWD { get; set; }

        ///<summary>
        ///会员卡号
        ///</summary>
        public string WizardNum { get; set; }

        /// <summary>
        /// 优惠券号
        /// </summary>
        public string CouponNum { get; set; }

        /// <summary>
        /// 协议号
        /// </summary>
        public string IATA { get; set; }

        /// <summary>
        /// 协议类型
        /// </summary>
        public int IATAType { get; set; }
    }
}
